﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Domain.OperationsManagement
{
    /// <summary>
    /// 项目立项中的建筑分类
    /// </summary>
    [Table("Building")]
    public class Building
    {
        /// <summary>
        /// 主键自增
        /// </summary>
        [Key]
        public int BuildingId { get; set; }
        /// <summary>
        /// 建筑分类名称
        /// </summary>
        public string  Bname { get; set; }
        /// <summary>
        /// 父级Id
        /// </summary>
        public int Bid { get; set; }
    }
}
